Why did i get Status Code: 405; Method Not Allowed after trying to execute the delete action